package com.zl.autocode.dto.autocode.tableColumn;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author ZL
 */
@Getter
@Setter
@ApiModel(value="数据库表属性信息--新增请求体")
public class ReqTableColumnAddDTO implements java.io.Serializable {

    /** default Serial Version UID*/
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value="项目主键ID")
    private String projectId;
    
    @ApiModelProperty(value="表编码")
    private String tableCode;
    
    @ApiModelProperty(value="字段CODE")
    private String columnCode;
    
    @ApiModelProperty(value="字段NAME")
    private String columnName;
    
    @ApiModelProperty(value="字段COMMENT")
    private String columnComment;
    
    @ApiModelProperty(value="类型")
    private String columnDatatype;
    
    @ApiModelProperty(value="长度")
    private String columnLength;
    
    @ApiModelProperty(value="小数")
    private String columnPrecision;
    
    @ApiModelProperty(value="是否主键")
    private String columnPrimarykey;
    
    @ApiModelProperty(value="是否为空")
    private String columnMandatory;
    
    @ApiModelProperty(value="默认值")
    private String columnDefault;
    
    @ApiModelProperty(value="标题")
    private String columnTitle;
    
    @ApiModelProperty(value="驼峰CODE")
    private String columnJavaCode;
    
    @ApiModelProperty(value="备注")
    private String remarks;
    
    @ApiModelProperty(value="排序")
    private Long orderNum;
    
}